<div class="form">


<?php $form = $this->beginWidget('GxActiveForm', array(
	'id' => 'refdati-form',
	'enableAjaxValidation' => false,
));
?>

	<p class="note">
		<?php echo Yii::t('app', 'Fields with'); ?> <span class="required">*</span> <?php echo Yii::t('app', 'are required'); ?>.
	</p>

	<?php echo $form->errorSummary($model); ?>

		<div class="row">
		<?php echo $form->labelEx($model,'KDPROP'); ?>
		<?php echo $form->textField($model, 'KDPROP', array('maxlength' => 2)); ?>
		<?php echo $form->error($model,'KDPROP'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'KDDATI2'); ?>
		<?php echo $form->textField($model, 'KDDATI2', array('maxlength' => 4)); ?>
		<?php echo $form->error($model,'KDDATI2'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'KDKPJ'); ?>
		<?php echo $form->textField($model, 'KDKPJ', array('maxlength' => 4)); ?>
		<?php echo $form->error($model,'KDKPJ'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'KDKC'); ?>
		<?php echo $form->textField($model, 'KDKC', array('maxlength' => 4)); ?>
		<?php echo $form->error($model,'KDKC'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'KDRELASILO'); ?>
		<?php echo $form->textField($model, 'KDRELASILO', array('maxlength' => 6)); ?>
		<?php echo $form->error($model,'KDRELASILO'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'NMDATI2'); ?>
		<?php echo $form->textField($model, 'NMDATI2', array('maxlength' => 25)); ?>
		<?php echo $form->error($model,'NMDATI2'); ?>
		</div><!-- row -->
		<div class="row">
		<?php echo $form->labelEx($model,'BPJ'); ?>
		<?php echo $form->textField($model, 'BPJ', array('maxlength' => 18)); ?>
		<?php echo $form->error($model,'BPJ'); ?>
		</div><!-- row -->


<?php
echo GxHtml::Button(Yii::t('app', 'Cancel'), array(
			'submit' => array('refdati/admin')
		));
echo GxHtml::submitButton(Yii::t('app', 'Save'));
$this->endWidget();
?>
</div><!-- form -->